{% extends "base_footer.html" %}

{% block title %}
    天天生鲜-注册
{% endblock %}
{% block head %}
<script type="text/javascript"   src="/static/js/register.js" ></script>
{% endblock %}
{% block main %}
    <div class="register_con">
		<div class="l_con fl">
			<a class="reg_logo"><img src="/static/images/logo02.png"></a>
			<div class="reg_slogan">足不出户  ·  新鲜每一天</div>
			<div class="reg_banner"></div>
		</div>

		<div class="r_con fr">
			<div class="reg_title clearfix">
				<h1>用户注册</h1>
				<a href="/account/login/">登录</a>
			</div>
			<div class="reg_form clearfix">
				<form action="{% url 'user:register' %}" method="POST">
				<ul>
					<li>
						<label>用户名:</label>
						<input name="username" id="username" type="text">
						<span class="error_tip">提示信息</span>
					</li>
					<li>
						<label>密码:</label>
						<input name="password" id="password" type="password">
						<span class="error_tip">提示信息</span>
					</li>
					<li>
						<label>确认密码:</label>
						<input name="cpwd" id="cpwd" type="password">
						<span class="error_tip">提示信息</span>
					</li>
					<li>
						<label>邮箱:</label>
						<input name="email" id="email" type="text">
						<span class="error_tip">提示信息</span>
					</li>
                    <li>
                        <label>电话:</label>
                        <input name="phone" id="phone", type="text">
                        <span class="error_tip">提示信息</span>
                    </li>
                    <li>
                        <label>地址:</label>
                        <input name="address" id="address", type="text">
                        <span class="error_tip">提示信息</span>
                    </li>
					<li class="agreement">
						<input name="allow" id="allow" type="checkbox" checked="checked">
						<label>同意”天天生鲜用户使用协议“</label>
						<span class="error_tip2">提示信息</span>
					</li>
					<li class="reg_sub">
						<input type="submit" value="注 册">
					</li>
				</ul>
				</form>
			</div>

		</div>

	</div>
{% endblock %}